package com.amoyt.project.domain.vo.data;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @Date: 2025/8/28
 * @Time: 17:36
 * @Author: TQ_QT
 * @Description:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "公告公示统计")
public class ArticleDataVo implements Serializable {
    @Schema(description = "总公告数量")
    private Long totalCount;

    //各级权限列表
    @Schema(description = "各类型列表")
    private List<typeData> typeDataList;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class typeData implements Serializable{
        @Schema(description = "权限名称")
        private Integer category;
        @Schema(description = "权限数量")
        private Long typeCount;
    }
}
